package com.mail;

import com.mail.portal.config.properties.GunsProperties;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.web.support.SpringBootServletInitializer;
import org.springframework.web.servlet.config.annotation.WebMvcConfigurerAdapter;

@SpringBootApplication
public class PortalApplication  extends WebMvcConfigurerAdapter {

	protected final static Logger logger = LoggerFactory.getLogger(PortalApplication.class);

	@Autowired
	GunsProperties gunsProperties;

	public static void main(String[] args) {
		SpringApplication.run(PortalApplication.class, args);
		logger.info("ManagerApplication is success!");
	}
}
